package com.erp.pro.dao;
import com.erp.pro.domain.SupplierDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 供应商管理
 * @author Eric
 * @email shiliang900713@163.com
 * @date 2019-06-29 17:06:25
 */
@Mapper
public interface SupplierDao {

    SupplierDO get(Long id);

    List<SupplierDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(SupplierDO supplier);

    int update(SupplierDO supplier);

    int remove(Long id);

    int batchRemove(Long[] ids);

    SupplierDO getSupplierByName(String supplierName);
}